﻿<Window x:Class="LanguageTranslator.UI.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="300" Width="300">
    <Grid>
        <TextBox Name="InputText" Text="{Binding InputText }" Height="23" HorizontalAlignment="Left" Margin="116,12,0,0" VerticalAlignment="Top" Width="150" />
        <ComboBox Name="LanguageControl1" Height="23"  Width="150"
                           SelectedItem="{Binding Path=SelectedCountry1,Mode=TwoWay}" DisplayMemberPath="Name" SelectedValuePath="Value"
                          ItemsSource="{Binding Countries1}" Margin="115,39,13,199" />
        <ComboBox Name="LanguageControl2" Height="23"  Width="150"
                           SelectedItem="{Binding Path=SelectedCountry2,Mode=TwoWay}" DisplayMemberPath="Name" SelectedValuePath="Value"
                          ItemsSource="{Binding Countries2}" Margin="115,69,13,169" />
        <Button Command="{Binding TranslateCommand}" Content="Translate" Height="23" HorizontalAlignment="Left" Margin="117,100,0,0" Name="TranslateControl" VerticalAlignment="Top" Width="150" />

        <TextBlock Height="23" HorizontalAlignment="Left" Margin="12,127,0,0" Name="textBlock4" Text="Result:" VerticalAlignment="Top" />
        <TextBlock Height="93" HorizontalAlignment="Left" Margin="12,156,0,0" Name="TranslateResultControl" Text="{Binding TranslateResult, Mode=TwoWay}" VerticalAlignment="Top" Width="254" />

        <TextBlock Height="23" HorizontalAlignment="Left" Margin="15,12,0,0" Name="textBlock1" Text="Input text: " VerticalAlignment="Top" />
        <TextBlock Height="23" HorizontalAlignment="Left" Margin="15,40,0,0" Name="textBlock2" Text="Language 1: " VerticalAlignment="Top" />
        <TextBlock Height="23" HorizontalAlignment="Left" Margin="15,68,0,0" Name="textBlock3" Text="Language 2: " VerticalAlignment="Top" />
    </Grid>
</Window>